package com.hwadee.service;

import com.hwadee.mapper.AdminMapper;
import com.hwadee.pojo.Admin;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AdminService {
    @Autowired
    private AdminMapper adminMapper;
    //注册管理员账号
    public void register(Admin admin) {
        adminMapper.register(admin);
    }
}
